﻿<%@ Page Title="ScrumPeak.com" Language="C#" MasterPageFile="~/Views/Shared/Site.Master"
  AutoEventWireup="true" Inherits="MvcContrib.FluentHtml.ModelViewPage<ChangePasswordModel>" %>
<%@ Import Namespace="Peak.ApplicationServices"%>
<%@ Import Namespace="Peak.Web.Controllers.HtmlExtentions"%>
<%@ Import Namespace="Peak.Resources"%>
<%@ Import Namespace="Peak.Web.Controllers.Models" %>
<%@ Import Namespace="Peak.Web" %>
<%@ Import Namespace="Peak.Core" %>
<%@ Import Namespace="Peak.Web.Controllers" %>
<asp:Content ContentPlaceHolderID="center" runat="server">  
  <div class="page-content">
    <div class="page-title">
      <%= PageTitles.ChangePassword %>
    </div>
   <form method="post">      
      <table class="form">
        <tbody>
          <tr>  
            <td class="formLabel" align="right">
              <%= Labels.OldPassword %>
            </td>
            <td >
              <%= this.Password(f=>f.OldPassword) %><br />
              <%= this.ValidationMessage(f=>f.OldPassword) %>
            </td>
          </tr>
          <tr>  
            <td class="formLabel" align="right">
              <%= Labels.Password %>
            </td>
            <td>
              <%= this.Password(f=>f.Password) %><br />
              <%= this.ValidationMessage(f=>f.Password) %>
            </td>
          </tr>
          <tr>
            <td class="formLabel" align="right">
              <%= Labels.RepeatPassword %>
            </td>
            <td>
              <%= this.Password(f => f.ReEnteredPassword)%>
              <%= this.ValidationMessage(f => f.ReEnteredPassword)%>
            </td>
          </tr>                                                                 
          <tr>
            <td>
            </td>
            <td>
              <%= Html.OkButton()%>
              <%= Html.CancelButton() %>
            </td>
          </tr>
        </tbody>
      </table>
    </form>  
  </div>
</asp:Content>
